<!-- 悬浮按钮 -->
<script setup lang="ts">
import { vMove } from "@/hooks/directive";
</script>

<template>
  <div class="suspension">
    <div v-move class="center-box">
      <div class="center">
        <el-icon><Orange /></el-icon>
      </div>
    </div>
  </div>
</template>

<style lang="scss">
.suspension {
  .center-box {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 0;
    bottom: 0;
    width: 60px;
    height: 60px;
    .center {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 60px;
      height: 60px;
      font-size: 32px;
      color: orange;
      border-radius: 50%;
      box-shadow: 0 0 20px #ededed;
      transition: all 0.5s;
      // &:hover {
      //   width: 160px;
      //   height: 160px;
      // }
    }
  }
}
</style>
